﻿using QT.Lib.SixLabors.ImageSharp;

namespace ImageSpirit.Win
{
    public class BatchParameters
    {
        /// <summary>
        /// 批处理图片地址集合
        /// </summary>
        public List<string> LoadPath { get; set; }

        /// <summary>
        /// 滤镜
        /// </summary>
        public Filter Filter { get; set; }

        /// <summary>
        /// 滤镜效果值
        /// </summary>
        public float Amount { get; set; } = 0.5f;

        /// <summary>
        /// 贴图地址
        /// </summary>
        public string Chartlet { get; set; }

        /// <summary>
        /// 贴图位置
        /// </summary>
        public SixLabors.ImageSharp.Point CPoint { get; set; }

        /// <summary>
        /// 贴图不透明度
        /// </summary>
        public float Opacity { get; set; } = 1f;

        /// <summary>
        /// 水印文字
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 字体
        /// </summary>
        public SixLabors.Fonts.Font Font { get; set; }

        /// <summary>
        /// 水印文字颜色
        /// </summary>
        public SixLabors.ImageSharp.Color Color { get; set; }

        /// <summary>
        /// 水印位置
        /// </summary>
        public SixLabors.ImageSharp.PointF TPoint { get; set; }

        /// <summary>
        /// 图片保存路径
        /// </summary>
        public string SavePath { get; set; }

        /// <summary>
        /// 是否准备好执行批处理
        /// </summary>
        public bool IsReady { get; set; }
    }
}
